<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="utf-8" %>
<!doctype html>
<html lang="zh">
<head>
    <title>添加权限</title>
    <%@include file="/common/header.jspf"%>
</head>
<body>
<div class="form-wrap" >
    <form id="athorityForm" method="post">
        <div class="input-wrap">
            <label class="label-top">权限组:</label>
            <input id="groupList" class="easyui-combobox formInput" style="width: 360px;" name="groupId" editable="false">
        </div>
        <div class="input-wrap">
            <label class="label-top">权限标识:</label>
            <input class="easyui-textbox formInput" type="text" style="width: 360px;" name="code" data-options="required:true">
        </div>
        <div class="input-wrap">
            <label class="label-top">权限名称:</label>
            <input class="easyui-textbox formInput" type="text"  style="width: 360px;"name="name"  data-options="required:true">
        </div>
        <div class="input-wrap">
        <label class="label-top">是否启用:</label>
            <select class="easyui-combobox  formInput" style="width: 360px;" name="useState"  data-options="required:true,editable:false,selectOnNavigation:true">
                <option value="1">是</option>
                <option value="0">否</option>
            </select>
        </div>
        <div class="input-wrap">
            <label class="label-top">排序号:</label>
            <input class="easyui-numberspinner formInput" type="text"  style="width: 360px;"name="sort" value="0"  data-options="precision:0">
        </div>

        <div class="input-wrap">
            <label class="label-top">备注:</label>
            <input class="easyui-textbox formInput" type="text"  name="remarks"  data-options="multiline:true" style="width: 360px;height:80px">
        </div>
    </form>
    <div style="text-align:center;padding:5px">
        <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-save fa-lg" id="saveAuthority" >保存</a>
        <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-remove fa-lg" id="ResetForm">清空</a>
    </div>
</div>
<script type="text/javascript" src="${ctx}/resources/js/permission/authority/add.js"></script>
</body>
</html>
